<?php
/**
 * 验证码控制器
 *
 * @author Fong.zhang
 */
namespace Home\Controller;

use Think\Controller;

class CaptchaController extends Controller
{
    public function generateAction () {
        $Verify = new \Think\Verify();
        $Verify->fontSize = 14;
        $Verify->length = 5;
        $Verify->useNoise = false;
        $Verify->useCurve = false;
        $Verify->codeSet = '0123456789';
        $Verify->entry();
    }
}